﻿@{
    ViewBag.CurrentMenu = "Website";
}
<div class="row">
    <div class="col-md-12">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">网站类型</h3>
                <div class="pull-right box-tools">
                    <button id="btnAddWebsiteType" class="btn btn-primary" type="button" data-original-title="新增" data-toggle="tooltip" data-widget="">
                        <i class="fa fa-plus-square"></i>&nbsp;&nbsp;新增
                    </button>
                </div>
            </div>
            <div class="box-body">
                <div class="table-scrollable">
                    <table class="table table-striped table-bordered table-hover dataTable no-footer" role="grid" aria-describedby="sample_2_info">
                        <thead>
                            <tr role="row">                                
                                <th tabindex="0" aria-label="">
                                    ID
                                </th>
                                <th tabindex="0" aria-label="">
                                    名称
                                </th>
                                <th tabindex="0" aria-label="">
                                    排序
                                </th>
                                <th tabindex="0" aria-label="">
                                    说明
                                </th>
                                
                                <th tabindex="0" aria-label="">
                                    操作
                                </th>
                            </tr>
                        </thead>
                        <tbody id="tableBody"></tbody>
                    </table>                    
                </div>
            </div>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-md-12">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">网站</h3>              
            </div>
            <div class="pull-right box-tools">
                <button id="btnAddWebsite" class="btn btn-primary" type="button" data-original-title="新增" data-toggle="tooltip" data-widget="">
                    <i class="fa fa-plus-square"></i>&nbsp;&nbsp;新增
                </button>
                <input type="hidden" id="WebsiteTypeId" />
            </div>
            <div class="box-body">
                <div class="table-scrollable">
                    <table class="table table-striped table-bordered table-hover dataTable no-footer" role="grid" aria-describedby="sample_2_info">
                        <thead>
                            <tr role="row">
                                <th tabindex="0" aria-label="">
                                    ID
                                </th>
                                <th tabindex="0" aria-label="">
                                    名称
                                </th>                               
                                <th tabindex="0" aria-label="">
                                    排序
                                </th>
                                <th tabindex="0" aria-label="">
                                    说明
                                </th>

                                <th tabindex="0" aria-label="">
                                    操作
                                </th>
                            </tr>
                        </thead>
                        <tbody id="tableBody1"></tbody>
                    </table>                    
                </div>
            </div>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-md-12">
        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">监控栏目</h3>                
            </div>
            <div class="pull-right box-tools">
                <button id="btnAddWebsiteJK" class="btn btn-primary" type="button" data-original-title="新增" data-toggle="tooltip" data-widget="">
                    <i class="fa fa-plus-square"></i>&nbsp;&nbsp;新增
                </button>
                <input type="hidden" id="WebsiteId" />
            </div>
            <div class="box-body">
                <div class="table-scrollable">
                    <table class="table table-striped table-bordered table-hover dataTable no-footer" role="grid" aria-describedby="sample_2_info">
                        <thead>
                            <tr role="row">
                                <th tabindex="0" aria-label="">
                                    ID
                                </th>
                                <th tabindex="0" aria-label="">
                                    名称
                                </th>                               
                                <th tabindex="0" aria-label="">
                                    监控间隔
                                </th>                                
                                <th tabindex="0" aria-label="">
                                    是否保存原始网页
                                </th>
                                <th tabindex="0" aria-label="">
                                    是否启用监控
                                </th>
                                <th tabindex="0" aria-label="">
                                    排序
                                </th>
                                <th tabindex="0" aria-label="">
                                    说明
                                </th>

                                <th tabindex="0" aria-label="">
                                    操作
                                </th>
                            </tr>
                        </thead>
                        <tbody id="tableBody2"></tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

@Html.Partial("_EditWebsiteType")
@Html.Partial("_EditWebsite")
@Html.Partial("_EditWebsiteJK")
@Html.Partial("_TestWebsiteJK")
@section scripts{
    <script src="~/Areas/Webmonitor/Views/Website/index.js"></script>
}
